<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="layui-form timo-compile">
    <form th:action="@{/system/member/save}">
        <input type="hidden" name="id" th:if="${member}" th:value="${member.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">OPENID</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="openId	" placeholder="请输入OPENID"
                       th:value="${member?.openId	}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户昵称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="nickName" placeholder="请输入用户昵称"
                       th:value="${member?.nickName}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户头像</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="avatarUrl" placeholder="请输入用户头像"
                       th:value="${member?.avatarUrl}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户性别</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="gender" placeholder="请输入用户性别"
                       th:value="${member?.gender}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户所在城市</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="city" placeholder="请输入用户所在城市"
                       th:value="${member?.city}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户所在省份</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="province" placeholder="请输入用户所在省份"
                       th:value="${member?.province}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户所在国家</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="country" placeholder="请输入用户所在国家"
                       th:value="${member?.country}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="relname" placeholder="请输入真实姓名"
                       th:value="${member?.relname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">个性签名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="signature" placeholder="请输入个性签名"
                       th:value="${member?.signature}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="mobile" placeholder="请输入手机号"
                       th:value="${member?.mobile}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">积分</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="score" placeholder="请输入积分"
                       th:value="${member?.score}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">金钱</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="money" placeholder="请输入金钱"
                       th:value="${member?.money}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">UNIONID</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="unionid" placeholder="请输入UNIONID"
                       th:value="${member?.unionid}">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea" name="remark">[[${member?.remark}]]</textarea>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>